package stage2tests;

import static org.junit.Assert.*;
import huaabdelmartin_stage2.ReadPassengersTaxisFromFile;
import huaabdelmartin_stage2.TheBrain;

import org.junit.Test;

public class Reading {

	@Test
	public void testThatDataIsReadingFromFiles() {
		
		ReadPassengersTaxisFromFile rtff = new ReadPassengersTaxisFromFile();
		TheBrain brain = new TheBrain(rtff.returnListOfTaxis(), rtff.returnListOfPassengerGroups());
		System.out.println(brain.getTaxisCollection());
		System.out.println(brain.getPassengerGroupCollection());
		assertTrue(brain.getTaxisCollection().size() > 0 && brain.getPassengerGroupCollection().size() > 0);
	}

}
